package com.aaa.entity.mht;


import com.aaa.entity.User;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;
import java.util.Date;

@Table(name = "t_mht_plane")
@Data
//@ApiModel(value = "TFpaPlane)", description = "")
public class TMhtPlane implements Serializable {
    private static final long serialVersionUID = 672764701751672776L;
    @Id
    @Column(name = "id")
    private Integer id;

    @Column(name = "planename")
    //@ApiModelProperty(value = "计划的名字")
    private String planename;

    @Column(name = "begintime")
    //@ApiModelProperty(value = "开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date begintime;
    
    @Column(name = "endtime")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    //@ApiModelProperty(value = "结束时间")
    private Date endtime;
    
    @Column(name = "code")
    //@ApiModelProperty(value = "邀请码")
    private String code;
    
    @Column(name = "uid")
    //@ApiModelProperty(value = "创建人")
    private Integer uid;
    
    @Column(name = "createtime")
    //@ApiModelProperty(value = "创建时间")
    private Date createtime;
    
    @Column(name = "updatetime")
    //@ApiModelProperty(value = "修改时间")
    private Date updatetime;
    
    @Column(name = "status")
    //@ApiModelProperty(value = "状态  1 启用   2 禁用")
    private Integer status;
//    创建人
    private String CreatedBy;
    // 创建人
    @Transient
    private User user = new User();
    

}

